# ！ /usr/bin/python3
# -*- coding:utf-8 -*-
# @Author:Peng Cao
# @File: test.py
# @Software: PyCharm
import cv2.cv2 as cv2
import matplotlib.pyplot as plt
import numpy as np

ar = np.array([[[1, 2], [3, 4]]])
print(ar)
print(ar[:, 1:2, 0])

ar2 = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]])
print(ar2)
print(np.multiply(ar2, ar2))
print(np.dot(ar2, ar2))
